package actions.accounts;

import data.Account;
import actions.base.BaseAction;

public class Edit extends BaseAction {
	
	int id;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public Account account;

	@Override
	public String execute() throws Exception {
		account = getAccount();
		return SUCCESS;
	}
	
	public Account getAccount(){return services.getAccountByID(id);}
	
}
